/*

Jappix - An open social platform
This is the popup CSS stylesheet for Jappix

-------------------------------------------------

License: AGPL
Author: Valérian Saliou

*/

.lock {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    z-index: 9999;
}

.popup {
    background-color: rgb(20,20,20);
    background-color: rgba(20,20,20,0.95);
    margin-top: -250px;
    margin-left: -330px;
    width: 640px;
    height: 500px;
    padding: 0 10px;
    position: absolute;
    z-index: 10000;
    left: 50%;
    top: 50%;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 35px #232323;
    -webkit-box-shadow: 0 0 35px #232323;
    box-shadow: 0 0 35px #232323;
}

.popup.large {
    margin-left: -460px;
    width: 920px;
}

.popup .top {
    width: 600px;
    height: 45px;
    font-size: 1.2em;
    padding-top: 9px;
    color: white;
    margin: 14px 0 0 40px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 2px 2px black;
}

html[dir="rtl"] .popup .top {
    margin-right: 40px;
    margin-left: auto;
}

.popup .tab {
    width: 620px;
    height: 25px;
    margin: -5px 10px 0 10px;
    position: relative;
    z-index: 1;
}

.popup .tab a {
    background-color: #d9e7ea;
    color: #204249;
    width: 180px;
    height: 17px;
    padding: 4px 4px 4px 16px;
    margin-left: 5px;
    font-size: 0.94em;
    overflow: hidden;
    float: left;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-topleft: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

html[dir="rtl"] .popup .tab a {
    margin-left: 0;
    margin-right: 5px;
    padding-left: 4px;
    padding-right: 16px;
    float: right;
}

.popup .tab a:hover,
.popup .tab a:focus {
    background-color: #cedee1;
    text-decoration: none;
}

.popup .tab a:active {
    background-color: #c3d3d7;
    text-decoration: none;
}

.popup .tab a.tab-active {
    background-color: #e4eef9 !important;
}

.popup .one-lap {
    display: none;
}

.popup .one-lap.lap-active {
    display: block;
}

.popup .content {
    background: #e4eef9;
    background: -moz-linear-gradient(top, #e4eef9, #d0e5fa);
    background: -webkit-gradient(linear, left top, left bottom, from(#e4eef9), to(#d0e5fa));
    background: -webkit-linear-gradient(top, #e4eef9 0%, #d0e5fa 100%);
    background: -o-linear-gradient(top, #e4eef9 0%, #d0e5fa 100%);
    height: 358px;
    width: 640px;
    position: absolute;
    left: 10px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 0 20px black;
    -webkit-box-shadow: 0 0 20px black;
    box-shadow: 0 0 20px black;
}

.popup .content,
.popup .content a {
    color: #112a2f;
}

.popup.large div.comments {
    background-color: #f4f4f4;
    width: 272px;
    margin: 0;
    position: absolute;
    right: 10px;
    top: 63px;
    bottom: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.popup.large div.comments div.comments-content {
    font-size: 0.8em;
}

.popup.large div.comments input {
    width: 185px;
    min-width: 0;
}

.popup.large div.comments .one-comment {
    padding-bottom: 4px;
}

.popup.large div.comments .one-comment a {
    text-decoration: underline;
}

.popup.large div.comments div.comments-content {
    -moz-border-radius-topright: 3px;
    -moz-border-radius-topleft: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.popup .head {
    background: #f1f6fd;
    border: 1px #9dc4fc solid;
    width: 606px;
    height: 24px;
    margin: 0 10px 10px 10px;
    padding: 6px;
}

.popup .head-text {
    float: left;
    font-size: 0.9em;
    margin: 3px;
}

html[dir="rtl"] .popup .head-text {
    float: right;
}

.popup .head-actions {
    float: right;
    margin-top: 2px;
}

html[dir="rtl"] .popup .head-actions {
    float: left;
}

.popup .head-actions a {
    font-size: 0.9em;
    margin: 0 4px;
}

.popup .actions a {
    color: #30575f;
    font-size: 0.9em;
    margin-left: 5px;
}

.popup .head .head-input {
    float: right;
    width: 200px;
    padding: 2px;
}

html[dir="rtl"] .popup .head .head-input {
    float: left;
}

.popup .head .head-select {
    float: right;
    height: 24px;
}

html[dir="rtl"] .popup .head .head-select {
    float: left;
}

.popup .forms {
    font-size: 13.4px;
    width: 390px;
    height: 328px;
    margin: 15px;
    float: left;
}

.popup fieldset {
    border: 1px #547177 solid;
    margin: 0 0 15px 0;
    padding: 8px 2px 3px 2px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.popup legend {
    font-size: 0.9em;
    margin: 0 0 0 15px;
    padding: 0 2px;
    text-transform: uppercase;
}

.popup label {
    color: #1b1b1b;
    width: 150px;
    margin: 0 0 10px 12px;
    clear: both;
    float: left;
}

html[dir="rtl"] .popup label {
    margin-left: auto;
    margin-right: 12px;
    float: right;
}

.popup input,
.popup select {
    margin: 0 10px 10px 0;
    float: left;
}

html[dir="rtl"] .popup input,
html[dir="rtl"] .popup select {
    margin-right: 0;
    margin-left: 10px;
    float: right;
}

.popup input[type="text"] {
    min-width: 174px;
}

.popup select {
    min-height: 20px;
}

.popup .results {
    height: 310px;
    width: 620px;
    margin: -5px 0 0 10px;
    padding: 6px 0 0 0;
    overflow: auto;
}

html[dir="rtl"] .popup .results {
    margin-left: auto;
    margin-right: 10px;
}

.popup .results .no-results {
    margin: 6px 0;
    font-size: 0.85em;
    font-weight: bold;
}

.popup .results label {
    width: 180px;
    margin: 6px 4px 4px 4px;
}

.popup .results input,
.popup .results textarea,
.popup .results select {
    margin: 4px;
}

.popup .results input,
.popup .results select {
    min-width: 180px;
}

.popup .results input[type="checkbox"],
.popup .results input[type="radio"] {
    margin-top: 7px;
}

.popup .results textarea {
    width: 380px;
}

.popup .results .avatar-container {
    float: left;
    width: 60px;
    height: 60px;
    margin: 5px 12px 5px 9px;
    text-align: center;
    background-repeat: no-repeat;
}

html[dir="rtl"] .popup .results .avatar-container {
    margin-left: 12px;
    margin-right: 9px;
    float: right;
}

.popup .results img.avatar {
    max-width: 60px;
    max-height: 60px;
}

.popup .results .one-icon {
    height: 16px;
    width: 16px;
    margin: 10px 3px 0 8px;
    float: left;
}

html[dir="rtl"] .popup .results .one-icon {
    margin-left: 3px;
    margin-right: 8px;
    float: right;
}

.popup .results .one-icon.account,
.popup .results .one-icon.auth {
    background-position: 0 -777px;
}

.popup .results .one-icon.automation,
.popup .results .one-icon.client {
    background-position: 0 -1500px;
}

.popup .results .one-icon.collaboration {
    background-position: 0 -1520px;
}

.popup .results .one-icon.proxy,
.popup .results .one-icon.server,
.popup .results .one-icon.others {
    background-position: 0 -1540px;
}

.popup .results .one-icon.component,
.popup .results .one-icon.gateway {
    background-position: 0 -1560px;
}

.popup .results .one-icon.conference {
    background-position: 0 -1082px;
}

.popup .results .one-icon.directory {
    background-position: 0 -876px;
}

.popup .results .one-icon.headline,
.popup .results .one-icon.hierarchy {
    background-position: 0 -1580px;
}

.popup .results .one-icon.pubsub,
.popup .results .one-icon.store {
    background-position: 0 -1600px;
}

.popup .results .one-icon.loading {
    background-position: 0 -1620px;
}

.popup .results .one-icon.down {
    background-position: 0 -1640px;
}

.popup .results .one-host {
    font-weight: bold;
    width: 170px;
}

html[dir="rtl"] .popup .results .one-host {
    float: right;
}

.popup .results .one-type {
    width: 210px;
}

.popup .results .one-type,
.popup .results .one-host {
    float: left;
    overflow: hidden;
    margin: 9px 8px;
}

html[dir="rtl"] .popup .results .one-type,
html[dir="rtl"] .popup .results .one-host {
    float: right;
}

.popup .results .one-jid,
.popup .results .one-ctry,
.popup .results .one-fn {
    margin: 4px;
    width: 400px;
}

html[dir="rtl"] .popup .results .one-jid,
html[dir="rtl"] .popup .results .one-ctry,
html[dir="rtl"] .popup .results .one-fn {
    float: right;
}

.popup .results .one-fn {
    font-weight: bold;
}

.popup .results .one-jid {
    margin-top: 8px;
    font-size: 0.9em;
}

.popup .results .one-name {
    float: left;
    margin: 4px;
}

html[dir="rtl"] .popup .results .one-name {
    float: right;
}

.popup a.one-button {
    display: none;
    background-color: #f1f6fd;
    border: 1px solid #b9cbcf;
    margin-top: 1px;
    padding: 4px 8px;
    text-decoration: none;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.popup a.one-button:hover,
.popup a.one-button:focus {
    border: 1px solid #95b1b7;
}

.popup a.one-button:active {
    border: 1px solid #77989f;
}

.popup .results .oneresult:hover a.one-button {
    display: block;
}

.popup .results a.one-button,
#inbox .one-message a.one-button {
    float: right;
    padding: 3px 6px;
    margin-right: 4px;
}

html[dir="rtl"] .popup .results a.one-button,
html[dir="rtl"] #inbox .one-message a.one-button {
    float: left;
    margin-left: 4px;
    margin-right: auto;
}

.popup .results a.one-vjud {
    position: absolute;
    right: 4px;
}

html[dir="rtl"] .popup .results a.one-vjud {
    left: 4px;
    right: auto;
}

.popup .results a.one-add {
    top: 8px;
}

.popup .results a.one-chat,
.popup .results a.one-profile {
    top: 42px;
}

.popup .results .one-next {
    float: right;
    margin: 4px 8px 4px 4px;
    font-weight: bold;
}

html[dir="rtl"] .popup .results .one-next {
    margin-right: 4px;
    margin-left: 8px;
    float: left;
}

.popup .results .one-actions {
    width: 148px;
    margin: 4px;
    float: left;
}

.popup .results .one-actions a {
    width: 16px;
    height: 16px;
    padding: 2px 2px 4px 5px !important;
    margin-top: 2px;
}

.popup .results .one-actions a.browse {
    background-position: 3px -1396px;
}

.popup .results .one-actions a.command {
    background-position: 3px -1415px;
}

.popup .results .one-actions a.subscribe {
    background-position: 4px -1435px;
}

.popup .results .one-actions a.join {
    background-position: 3px -1455px;
}

.popup .results .one-actions a.search {
    background-position: 4px -1475px;
}

.popup .results a.submit,
.popup .results a.cancel,
.popup .results a.back {
    margin-right: 8px;
    float: right;
}

.popup .onetitle {
    font-size: 0.9em;
    padding: 4px;
    font-weight: bold;
}

.popup .oneinstructions {
    font-size: 0.9em;
    padding: 4px;
    margin: 8px 0;
}

.popup .oneresult {
    font-size: 0.9em;
    padding: 3px 0 4px 4px;
    border-bottom: 1px #9dc4fc solid;
    overflow: hidden;
    position: relative;
}

.popup .oneresult:hover {
    background: #e9f1fd;
}

.popup .oneresult[onclick]:hover {
    cursor: pointer;
}

.popup .oneresult[onclick]:active {
    background: #f1f6fd;
}

.popup .infos {
    background-color: rgb(255,239,104);
    background-color: rgba(255,239,104,0.8);
    border: 1px #decb2f solid;
    color: #3f3f3f;
    padding: 8px;
    margin: 10px;
    font-size: 0.8em;
}

.popup .infos p {
    margin-top: 10px;
}

.popup .infos p.infos-title {
    font-weight: bold;
}

.popup .bottom {
    width: 640px;
    height: 40px;
    position: absolute;
    bottom: 8px;
}

.popup .wait {
    display: none;
    margin: 8px 0 0 3px;
    float: left;
}

a.finish,
#suggest a.next {
    border: 1px solid white;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.1);
    color: white;
    padding: 4px 8px;
    margin-right: 7px;
    font-size: 0.95em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 1px black;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 0 5px black;
    -webkit-box-shadow: 0 0 5px black;
    box-shadow: 0 0 5px black;
}

a.finish:hover,
a.finish:focus,
#suggest a.next:hover,
#suggest a.next:focus {
    cursor: pointer;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.2);
    -moz-box-shadow: 0 0 15px black;
    -webkit-box-shadow: 0 0 15px black;
    box-shadow: 0 0 15px black;
}

a.finish:active,
#suggest a.next:active {
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.3);
}

a.finish.disabled,
#suggest a.next.disabled {
    opacity: 0.2;
}

a.finish.disabled:hover,
a.finish.disabled:focus,
a.finish.disabled:active,
#suggest a.next.disabled:hover,
#suggest a.next.disabled:focus,
#suggest a.next.disabled:active {
    cursor: default;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.1);
}

.popup a.finish {
    margin-top: 6px;
    float: right;
}
